package cn.broadsense.thrid.result;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 检测图片中的车辆
 *
 * @author pengxin
 * @date 2022-10-14 12:14
 */
@NoArgsConstructor
@Data
public class VehiclePicQueryResult implements Serializable {
    private static final long serialVersionUID = 2071191208655319258L;


    private List<ResultsResult> results;

    @NoArgsConstructor
    @Data
    public static class ResultsResult {
        private RectResult rect;
        private String feature;
        private VehicleResult vehicle;

        @NoArgsConstructor
        @Data
        public static class RectResult {
            private Integer leftTopX;
            private Integer leftTopY;
            private Integer rightBtmX;
            private Integer rightBtmY;
        }

        @NoArgsConstructor
        @Data
        public static class VehicleResult {
            private String plateNum;
            private String plateType;
            private String plateTypeStr;
            private String vehicleBrand;
            private String carColor;
            private String carColorStr;
            private String vehicleMode;
            private String vehicleStyle;
            private String carImgUrl;
            private String markImgUrl;
        }
    }
}
